package csu.web.mypetstore.persistence;

import csu.web.mypetstore.domain.Account;
import csu.web.mypetstore.domain.Cart;
import csu.web.mypetstore.domain.Item;
import csu.web.mypetstore.domain.MyCart;

public interface AccountDao {
    Account getAccountByUsername(String username);

    Account getAccountByUsernameAndPassword(Account account);

    MyCart getMyCartByUsernameAnditemId(String username,String itemId);
    Cart readMyCart(Account account,Cart cart);

    void updateAccount(Account account);

    void updateProfile(Account account);

    void updateSignon(Account account);

    void reserveCart(Account account, Cart cart);

    void updateaccount(Account account);
    void ChangeAccount(Account account);
}




